package com.hbms.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hbms.common.annotation.Excel;
import com.hbms.common.core.domain.BaseEntity;

/**
 * 客房信息管理对象 hotelbms_rooms
 * 
 * @author zl
 * @date 2024-04-10
 */
public class HotelbmsRooms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客房ID */
    private Long roomId;

    /** 酒店ID */
    @Excel(name = "酒店ID")
    private Long hotelId;

    /** 客房类型 */
    @Excel(name = "客房类型")
    private String roomType;

    /** 客房描述 */
    @Excel(name = "客房描述")
    private String description;

    /** 每晚价格 */
    @Excel(name = "每晚价格")
    private BigDecimal pricePerNight;

    /** 客房总数 */
    @Excel(name = "客房总数")
    private Long totalRooms;

    /** 剩余客房数量 */
    @Excel(name = "剩余客房数量")
    private Long remainingRooms;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createdBy;

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }
    public void setRoomType(String roomType) 
    {
        this.roomType = roomType;
    }

    public String getRoomType() 
    {
        return roomType;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPricePerNight(BigDecimal pricePerNight) 
    {
        this.pricePerNight = pricePerNight;
    }

    public BigDecimal getPricePerNight() 
    {
        return pricePerNight;
    }
    public void setTotalRooms(Long totalRooms) 
    {
        this.totalRooms = totalRooms;
    }

    public Long getTotalRooms() 
    {
        return totalRooms;
    }
    public void setRemainingRooms(Long remainingRooms) 
    {
        this.remainingRooms = remainingRooms;
    }

    public Long getRemainingRooms() 
    {
        return remainingRooms;
    }
    public void setCreationDate(Date creationDate) 
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate() 
    {
        return creationDate;
    }
    public void setCreatedBy(Long createdBy) 
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("hotelId", getHotelId())
            .append("roomType", getRoomType())
            .append("description", getDescription())
            .append("pricePerNight", getPricePerNight())
            .append("totalRooms", getTotalRooms())
            .append("remainingRooms", getRemainingRooms())
            .append("creationDate", getCreationDate())
            .append("createdBy", getCreatedBy())
            .toString();
    }
}
